@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    background: #fafafa;
    font-family: "Microsoft Yahei", "微软雅黑", verdana, serif;
    font-size: 14px;
    color: #000;
    margin: 0 auto;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #292929;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
    margin: 0;
    padding: 0;
}

input {
    border: 0;
    outline: none;
    background-color: rgba(0, 0, 0, 0);
}

/**********头部**********/

#active {
    color: #007aff;
    background-color: #fafcfc;
}

.nav-bar-holder {
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    border-bottom: 1px solid #ECECEC;
    text-align: center;
}

.nav-bar {
    max-width: 1252px;
    height: 100%;
    margin: 0 auto;
    display: inline-block;
}

.logo-box {
    max-width: 270px;
    height: 100%;
    float: left;
}

.nav-bar .nb-a-holder {
    width: 120px;
    height: 100%;
    float: left;
}

.nb-a-holder-last {
    width: 172px;
    height: 100%;
    float: left;
}

#search-nb {
    width: 210px;
    height: 100%;
    float: left;
}

.nb-a-holder-small {
    width: 86px;
    height: 100%;
    float: left;
}

.blog-title {
    max-height: 100%;
    max-width: 270px;
    float: left;
    line-height: 60px;
    font-size: 25px;
    font-weight: bold;
}

.blog-title img {
    margin-top: 5px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    max-width: 260px;
    height: 50px;
}

.nb-a {
    display: inline-block;
    height: 100%;
    width: 120px;
    line-height: 60px;
    font-size: 16px;
    color: #666666;
    transition: all 0.3s linear;
}

.nb-a-hover {
    color: #007aff;
    background-color: #fafcfc;
}

.li-hover {
    color: #007aff;
    background-color: #fafcfc;
}

.nav-ul-m {
    position: absolute;
    width: 80px;
    z-index: 5;
    background-color: #fff;
    color: #666666;
    margin-top: 60px;
}

.nav-li-m {
    width: 80px;
    height: 60px;
    margin: 0;
    line-height: 60px;
    font-size: 16px;
}

.nav-li-m a {
    display: inline-block;
    width: 100%;
    height: 100%;
    color: #666666;
    transition: all 0.3s ease-in-out;
}

.nav-li-m a:hover {
    color: #3aa4ff;
    background-color: #fafafa;
}

.nav-ul {
    position: absolute;
    width: 120px;
    z-index: 5;
    background-color: #fff;
    color: #666666;
    margin-top: 60px;
}

.nav-li {
    width: 120px;
    height: 60px;
    margin: 0;
    line-height: 60px;
    font-size: 16px;
}

.nav-li a {
    display: inline-block;
    width: 100%;
    height: 100%;
    color: #666666;
    transition: all 0.3s ease-in-out;
}

.nav-li a:hover {
    color: #007aff;
}

.nav-li-bd {
    border-bottom: solid 1px #ECECEC;
}

.search-s {
    width: 188px;
    height: 30px;
    margin: 15px 10px;
    border: #ECECEC solid 1px;
    background: #fafafa;
    transition: all 0.3s ease-in-out;
}

.search-on {
    border: #007aff solid 1px;
    background-color: #ffffff;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

#search-input {
    width: 150px;
    height: 100%;
    padding-left: 8px;
}

.search-s a {
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.search-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    background-image: url("../img/search.png");
}

.icon-on {
    background-image: url("../img/search-on.png");
}

.a-login {
    width: 80px;
    height: 100%;
    padding: 0 3px;
    line-height: 60px;
    text-align: center;
    color: #3aa4ff;
    font-size: 16px;
    font-weight: 500;
    /*单行文本溢出显示省略号*/
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    transition: all 0.3s linear;
}

.a-login:hover {
    color: #007aff;
    background-color: #fafafa;
}

/**********尾部**********/

.footer {
    width: 100%;
    background-color: #f1f2f5;
    float: left;
    /*position: absolute;*/
    /*margin-bottom: 0;*/
}

.footer-line {
    width: 100%;
    text-align: center;
    font-size: 18px;
    line-height: 50px;
}

/*********全局引用样式**********/

.fl {
    float: left;
}

.fr {
    float: right;
}

.ta-c {
    text-align: center;
}

.c-666 {
    color: #666666;
}

.c-29 {
    color: #292929;
}

.c-76 {
    color: #767676;
}

.c-999 {
    color: #999999;
}

.b-b-ece {
    border-bottom: 1px solid #eceff2;
}

.justify-c-center {
    justify-content: center;
}

.mar-top-20 {
    margin-top: 20px;
}

.mar-top-5 {
    margin-top: 5px;
}

.mar-top-10 {
    margin-top: 10px;
}

.par-b-5 {
    padding-bottom: 5px;
}

.one-line-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

pre {
    font-family: "Microsoft Yahei", "微软雅黑", verdana, serif;
    ;
}

.mobile-nav {
    display: none;
}

/*响应式尺寸*/

@media (max-width: 1024px) {
    .nav-bar-holder {
        display: none;
    }
    .mobile-nav {
        display: block;
        height: 50px;
        width: 100%;
        background-color: #ffffff;
        position: fixed;
        z-index: 999;
    }
    .blog-title img {
        margin-top: 0;
    }
    #mobile_cate {
        height: 30px;
        width: 30px;
        float: right;
        margin: 10px;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
    #nav-m-list {
        width: 50%;
        background-color: #fefefe;
        position: fixed;
        top: 50px;
        right: 0;
        z-index: 999;
    }
    #nav-m-list li {
        width: 100%;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border-bottom: #eceff2 solid 1px;
    }
    #search-input-m {
        line-height: 30px;
        width: 60%;
    }
    .search-s {
        width: 70%;
        height: 30px;
        margin: 5px 15%;
        border: #ECECEC solid 1px;
        background: #fafafa;
        transition: all 0.3s ease-in-out;
    }
    .search-icon {
        float: right;
    }
    .footer-line {
        font-size: 14px;
    }
}

@media (min-width: 768px) {}

@media (min-width: 992px) {}

@media (min-width: 1200px) {}